package com.ruoyi.project.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单对象 ts_order
 * 
 * @author tsxuwj
 * @date 2020-06-25
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 客户主键 */
    @Excel(name = "客户主键")
    private Long clientId;

    /** 订单名称 */
    @Excel(name = "订单名称")
    private String name;

    /** 设备合计费用 */
    @Excel(name = "设备合计费用")
    private BigDecimal equipmentPrice;

    /** 设备成本合计费用 */
    @Excel(name = "设备成本合计费用")
    private BigDecimal equipmentPriceCost;

    /** 施工费用 */
    @Excel(name = "施工费用")
    private BigDecimal constructionPrice;

    /** 施工成本费用 */
    @Excel(name = "施工成本费用")
    private BigDecimal constructionPriceCost;

    /** 人工费率 */
    @Excel(name = "人工费率")
    private Long labor;

    /** 产品费率 */
    @Excel(name = "产品费率")
    private Long product;

    /** 税费 */
    @Excel(name = "税费")
    private BigDecimal taxation;

    /** 订单总费用 */
    @Excel(name = "订单总费用")
    private BigDecimal price;

    /** 订单总成本费用 */
    @Excel(name = "订单总成本费用")
    private BigDecimal priceCost;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientId(Long clientId) 
    {
        this.clientId = clientId;
    }

    public Long getClientId() 
    {
        return clientId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setEquipmentPrice(BigDecimal equipmentPrice) 
    {
        this.equipmentPrice = equipmentPrice;
    }

    public BigDecimal getEquipmentPrice() 
    {
        return equipmentPrice;
    }
    public void setEquipmentPriceCost(BigDecimal equipmentPriceCost) 
    {
        this.equipmentPriceCost = equipmentPriceCost;
    }

    public BigDecimal getEquipmentPriceCost() 
    {
        return equipmentPriceCost;
    }
    public void setConstructionPrice(BigDecimal constructionPrice) 
    {
        this.constructionPrice = constructionPrice;
    }

    public BigDecimal getConstructionPrice() 
    {
        return constructionPrice;
    }
    public void setConstructionPriceCost(BigDecimal constructionPriceCost) 
    {
        this.constructionPriceCost = constructionPriceCost;
    }

    public BigDecimal getConstructionPriceCost() 
    {
        return constructionPriceCost;
    }
    public void setLabor(Long labor) 
    {
        this.labor = labor;
    }

    public Long getLabor() 
    {
        return labor;
    }
    public void setProduct(Long product) 
    {
        this.product = product;
    }

    public Long getProduct() 
    {
        return product;
    }
    public void setTaxation(BigDecimal taxation) 
    {
        this.taxation = taxation;
    }

    public BigDecimal getTaxation() 
    {
        return taxation;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setPriceCost(BigDecimal priceCost) 
    {
        this.priceCost = priceCost;
    }

    public BigDecimal getPriceCost() 
    {
        return priceCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientId", getClientId())
            .append("name", getName())
            .append("equipmentPrice", getEquipmentPrice())
            .append("equipmentPriceCost", getEquipmentPriceCost())
            .append("constructionPrice", getConstructionPrice())
            .append("constructionPriceCost", getConstructionPriceCost())
            .append("labor", getLabor())
            .append("product", getProduct())
            .append("taxation", getTaxation())
            .append("price", getPrice())
            .append("priceCost", getPriceCost())
            .append("remark", getRemark())
            .toString();
    }
}
